package com.project_doctor.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 签约服务记录表
 * @TableName t_contract
 */
@TableName(value ="t_contract")
@Data
public class Contract {
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 签约居民ID
     */
    private Integer residentId;

    /**
     * 负责医生ID
     */
    private Integer doctorId;

    /**
     * 服务团队ID
     */
    private Integer teamId;

    /**
     * 服务机构ID
     */
    private Integer instId;

    /**
     * 服务包ID
     */
    private Integer packageId;

    /**
     * 服务项目ID
     */
    private Integer serviceId;

    /**
     * 签约状态(1=待审核,2=待服务,3=已驳回,4=待支付,5=已完成)
     */
    private Integer status;

    /**
     * 签约周期
     */
    private String signCycle;

    /**
     * 签约费用
     */
    private BigDecimal fee;

    /**
     * 申请时间
     */
    private Date applyTime;

    /**
     * 生效日期
     */
    private Date effectiveDate;

    /**
     * 到期日期
     */
    private Date expireDate;

    /**
     * 签约备注
     */
    private String remark;

    private String contractStatus;

    private String type;

    /**
     * 预留字段1
     */
    private String reserved1;

    /**
     * 预留字段2
     */
    private String reserved2;

    /**
     * 预留字段3
     */
    private String reserved3;

    private Date serviceTime;

    private Date auditTime;

    private String auditName;

    private String rejectionReason;

    private Date completionTime;

    private String 	cancellationReason;

    private Date cancellationTime;

    private String serviceRemark;

    private Integer addressId;

    private Integer serviceStatus;
}